<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!-- public quote -->
<%@include file="/jsp/comm_css_include.jsp"%>
<link href="${basePath }/css/timeline.css?v=2342" rel="stylesheet">
<!doctype html>
<html>
<head>
	<style type="text/css">
		#tabb {
		    border-top: 1px solid #e7eaec;
		}
	</style>
</head>
<body class="gray-bg">
	<div class="container creditbody">
			<div class="iboxtitle">
		 		<span><i class="glyphicon glyphicon-map-marker"></i>&nbsp;二次面签</span>
	        </div>
	        <div class="buttonfixed">
				<button type="button" id="save"  class="btn dpbtn_blue btnaplly" onclick="checkSecondInterview();">二次面签成功</button>
			</div>
	   <div class="ibox-content ibox-con">
			<%@include file="/jsp/comm_yw_info_include_nohis.jsp"%>
			<%-- <c:if test="${ywInterviewInfo.ccol1 == '20'}">
				<div class="business-manwife">贷款调整信息</div>
			<div class="tche-padding">
				<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
					<thead class="thead-a">
						<tr>
							<th>项目</th>
							<th>原值</th>
							<th>新值</th>
							<th>调整值</th>
						</tr>
					</thead>
					<tbody class="tbody-a">
						<tr>
							<td>贷款银行</td>
							<td>${hisYwBusinessLoan.loanBankDisplay }</td>
							<td>${ywBusinessLoanEdit.loanBankDisplay }</td>
							<td>${hisYwBusinessLoan.loanBank == ywBusinessLoanEdit.loanBank ? '-' : ywBusinessLoanEdit.loanBank}</td>
						</tr>
						
						<tr>
							<td>取整模式</td>
							<td><input class="tbody-control"  value='${hisYwBusinessLoan.ccol1Display }' readonly="readonly"/></td>
							<td><input class="tbody-control"  value='${ywBusinessLoanEdit.ccol1Display }' readonly="readonly"/></td>
							<td>${hisYwBusinessLoan.ccol1 == ywBusinessLoanEdit.ccol1 ? '-' : ywBusinessLoanEdit.ccol1Display}</td>
						</tr>
						
						<tr>
							<td>贷款模式</td>
							<td><input class="tbody-control" value='${hisYwBusinessLoan.loanTypeDisplay }' readonly="readonly"/></td>
							<td><input class="tbody-control" value='${ywBusinessLoanEdit.loanTypeDisplay }' readonly="readonly"/></td>
							<td>${hisYwBusinessLoan.loanType == ywBusinessLoanEdit.loanType ? '-' : ywBusinessLoanEdit.loanTypeDisplay}</td>
						</tr>
						
						<tr>
							<td>购入价</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.carPrice ? 0 : hisYwBusinessLoan.carPrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.carPrice ? 0 : ywBusinessLoanEdit.carPrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.carPrice - hisYwBusinessLoan.carPrice) ? '-' : (ywBusinessLoanEdit.carPrice - hisYwBusinessLoan.carPrice)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>实际贷款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.loanAmount ? 0 : hisYwBusinessLoan.loanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.loanAmount ? 0 : ywBusinessLoanEdit.loanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.loanAmount - hisYwBusinessLoan.loanAmount) ? '-' : (ywBusinessLoanEdit.loanAmount - hisYwBusinessLoan.loanAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
						</tr>
						
						<tr>
							<td>首付款</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstPaymentAmount ? 0 : hisYwBusinessLoan.firstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstPaymentAmount ? 0 : ywBusinessLoanEdit.firstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstPaymentAmount - hisYwBusinessLoan.firstPaymentAmount) ? '-' : (ywBusinessLoanEdit.firstPaymentAmount - hisYwBusinessLoan.firstPaymentAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>二手车估价</td>
							<td>
								<c:choose>
									<c:when test="${hisYwBusinessLoan.carType == '02' }">
										<input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.carEstimatePrice ? 0 : hisYwBusinessLoan.carEstimatePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/>
									</c:when>
									<c:otherwise>
										<input class="tbody-control" type="number" value='0.00' readonly="readonly"/>
									</c:otherwise>
								 </c:choose>
							</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.carEstimatePrice ? 0 : ywBusinessLoanEdit.carEstimatePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.carEstimatePrice - hisYwBusinessLoan.carEstimatePrice) ? 0 : (ywBusinessLoanEdit.carEstimatePrice - hisYwBusinessLoan.carEstimatePrice)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>二手车车龄(月)</td>
							<td>
								<c:choose>
									<c:when test="${hisYwBusinessLoan.carType == '02' }">
										<input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.carAge ? 0 : hisYwBusinessLoan.carAge}" pattern="0" maxFractionDigits="0"/>' readonly="readonly"/>
									</c:when>
									<c:otherwise>
										<input class="tbody-control" type="number" value='0' readonly="readonly"/>
									</c:otherwise>
							   </c:choose>
							<td>
								<c:choose>
									<c:when test="${ywBusinessLoanEdit.carType == '02' }">
										<input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.carAge ? 0 : ywBusinessLoanEdit.carAge}" pattern="0" maxFractionDigits="0"/>' readonly="readonly"/>
									</c:when>
									<c:otherwise>
										<input class="tbody-control" type="number" value='0' readonly="readonly"/>
									</c:otherwise>
							   </c:choose>
							 </td>
							<td>${hisYwBusinessLoan.carAge == ywBusinessLoanEdit.carAge ? '-' : ywBusinessLoanEdit.carAge}</td>
						</tr>
						
						<tr>
							<td>银行基准利率(%)</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.bankRate ? 0 : hisYwBusinessLoan.bankRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.bankRate ? 0 : ywBusinessLoanEdit.bankRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.bankRate - hisYwBusinessLoan.bankRate) ? 0 : (ywBusinessLoanEdit.bankRate - hisYwBusinessLoan.bankRate) *100}" pattern="0.0000" maxFractionDigits="4"/>'/></td>
						</tr>
						
						<tr>
							<td>贷款期限</td>
							<td><input class="tbody-control" value='${hisYwBusinessLoan.loanMonthDisplay }' readonly="readonly"/></td>
							<td><input class="tbody-control" value='${ywBusinessLoanEdit.loanMonthDisplay }' readonly="readonly"/></td>
							<td>${hisYwBusinessLoan.loanMonthDisplay == ywBusinessLoanEdit.loanMonthDisplay ? '-' : ywBusinessLoanEdit.loanMonthDisplay}</td>
						</tr>
						
						<tr>
							<td>按揭服务费</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.servicePrice ? 0 : hisYwBusinessLoan.servicePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.servicePrice ? 0 : ywBusinessLoanEdit.servicePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.servicePrice - hisYwBusinessLoan.servicePrice) ? 0 : (ywBusinessLoanEdit.servicePrice - hisYwBusinessLoan.servicePrice)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>签约公司利率(%)</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.companyRate ? 0 : hisYwBusinessLoan.companyRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.companyRate ? 0 : ywBusinessLoanEdit.companyRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.companyRate - hisYwBusinessLoan.companyRate) ? 0 : (ywBusinessLoanEdit.companyRate - hisYwBusinessLoan.companyRate)* 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>签约贷款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.signLoanAmount ? 0 : hisYwBusinessLoan.signLoanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.signLoanAmount ? 0 : ywBusinessLoanEdit.signLoanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.signLoanAmount - hisYwBusinessLoan.signLoanAmount) ? 0 : (ywBusinessLoanEdit.signLoanAmount - hisYwBusinessLoan.signLoanAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>签约总还款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.totalRepaymentAmount ? 0 : hisYwBusinessLoan.totalRepaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.totalRepaymentAmount ? 0 : ywBusinessLoanEdit.totalRepaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.totalRepaymentAmount - hisYwBusinessLoan.totalRepaymentAmount) ? 0 : (ywBusinessLoanEdit.totalRepaymentAmount - hisYwBusinessLoan.totalRepaymentAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>银行利息</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.bankRateAmount ? 0 : hisYwBusinessLoan.bankRateAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.bankRateAmount ? 0 : ywBusinessLoanEdit.bankRateAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.bankRateAmount - hisYwBusinessLoan.bankRateAmount) ? 0 : (ywBusinessLoanEdit.bankRateAmount - hisYwBusinessLoan.bankRateAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>签约月还款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.amountMonthly ? 0 : hisYwBusinessLoan.amountMonthly}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.amountMonthly ? 0 : ywBusinessLoanEdit.amountMonthly}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.amountMonthly - hisYwBusinessLoan.amountMonthly) ? 0 : (ywBusinessLoanEdit.amountMonthly - hisYwBusinessLoan.amountMonthly)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>签约首月还款总额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.signFirstPaymentAmount ? 0 : hisYwBusinessLoan.signFirstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.signFirstPaymentAmount ? 0 : ywBusinessLoanEdit.signFirstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.signFirstPaymentAmount - hisYwBusinessLoan.signFirstPaymentAmount) ? 0 : (ywBusinessLoanEdit.signFirstPaymentAmount - hisYwBusinessLoan.signFirstPaymentAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>每月本金还款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.monthlyPrincipalAmount ? 0 : hisYwBusinessLoan.monthlyPrincipalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.monthlyPrincipalAmount ? 0 : ywBusinessLoanEdit.monthlyPrincipalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.monthlyPrincipalAmount - hisYwBusinessLoan.monthlyPrincipalAmount) ? 0 : (ywBusinessLoanEdit.monthlyPrincipalAmount - hisYwBusinessLoan.monthlyPrincipalAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>每月本金还款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.monthlyPrincipalAmount ? 0 : hisYwBusinessLoan.monthlyPrincipalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.monthlyPrincipalAmount ? 0 : ywBusinessLoanEdit.monthlyPrincipalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.monthlyPrincipalAmount - hisYwBusinessLoan.monthlyPrincipalAmount) ? 0 : (ywBusinessLoanEdit.monthlyPrincipalAmount - hisYwBusinessLoan.monthlyPrincipalAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>每月手续费</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.monthlyFee ? 0 : hisYwBusinessLoan.monthlyFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.monthlyFee ? 0 : ywBusinessLoanEdit.monthlyFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.monthlyFee - hisYwBusinessLoan.monthlyFee) ? 0 : (ywBusinessLoanEdit.monthlyFee - hisYwBusinessLoan.monthlyFee)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>首月本金还款额</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstMonthAmount ? 0 : hisYwBusinessLoan.firstMonthAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstMonthAmount ? 0 : ywBusinessLoanEdit.firstMonthAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstMonthAmount - hisYwBusinessLoan.firstMonthAmount) ? 0 : (ywBusinessLoanEdit.firstMonthAmount - hisYwBusinessLoan.firstMonthAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>首月手续费</td>                                     
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstMonthFee ? 0 : hisYwBusinessLoan.firstMonthFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstMonthFee ? 0 : ywBusinessLoanEdit.firstMonthFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstMonthFee - hisYwBusinessLoan.firstMonthFee) ? 0 : (ywBusinessLoanEdit.firstMonthFee - hisYwBusinessLoan.firstMonthFee)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>担保费率</td>                                     
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.trialAssureRate ? 0 : hisYwBusinessLoan.trialAssureRate}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.trialAssureRate ? 0 : ywBusinessLoanEdit.trialAssureRate}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.trialAssureRate - hisYwBusinessLoan.trialAssureRate) ? 0 : (ywBusinessLoanEdit.trialAssureRate - hisYwBusinessLoan.trialAssureRate)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>签约担保费</td>                                     
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.assureAmount ? 0 : hisYwBusinessLoan.assureAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.assureAmount ? 0 : ywBusinessLoanEdit.assureAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.assureAmount - hisYwBusinessLoan.assureAmount) ? 0 : (ywBusinessLoanEdit.assureAmount - hisYwBusinessLoan.assureAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>分期额度</td>                                     
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.stageAmount ? 0 : hisYwBusinessLoan.stageAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.stageAmount ? 0 : ywBusinessLoanEdit.stageAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.stageAmount - hisYwBusinessLoan.stageAmount) ? 0 : (ywBusinessLoanEdit.stageAmount - hisYwBusinessLoan.stageAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
						<tr>
							<td>分期比例</td>                                     
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.fqbl ? 0 : hisYwBusinessLoan.fqbl}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.fqbl ? 0 : ywBusinessLoanEdit.fqbl}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.fqbl - hisYwBusinessLoan.fqbl) ? 0 : (ywBusinessLoanEdit.fqbl - hisYwBusinessLoan.fqbl)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						
					   <tr>
							<td>经销商返利</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.rebateDealer ? 0 : hisYwBusinessLoan.rebateDealer}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.rebateDealer ? 0 : ywBusinessLoanEdit.rebateDealer}" pattern="0.00" maxFractionDigits="2"/>'readonly="readonly" /></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.rebateDealer - hisYwBusinessLoan.rebateDealer) ? 0 : (ywBusinessLoanEdit.rebateDealer - hisYwBusinessLoan.rebateDealer)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						<tr>
							<td>分公司展业费</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.rebateProvince ? 0 : hisYwBusinessLoan.rebateProvince}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.rebateProvince ? 0 : ywBusinessLoanEdit.rebateProvince}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.rebateProvince - hisYwBusinessLoan.rebateProvince) ? 0 : (ywBusinessLoanEdit.rebateProvince - hisYwBusinessLoan.rebateProvince)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
						<tr>
							<td>区域&业务员展业费</td>
							<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.rebateArea ? 0 : hisYwBusinessLoan.rebateArea}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
							<td><input class="tbody-control" type="number"  value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.rebateArea ? 0 : ywBusinessLoanEdit.rebateArea}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
							<td><input class="tbody-control compare" type="text"  value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.rebateArea - hisYwBusinessLoan.rebateArea) ? 0 : (ywBusinessLoanEdit.rebateArea - hisYwBusinessLoan.rebateArea)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
						</tr>
	
					</tbody>
				</table>
			</div>
			</c:if>
			<c:if test="${ywInterviewInfo.ccol1 == '10'}">
			<div class="business-manwife">车辆调整信息</div>
		<div class="tche-padding">
			<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
				<thead class="thead-a">
					<tr>
						<th>项目</th>
						<th>原值</th>
						<th>新值</th>
						<th>调整值</th>
					</tr>
				</thead>
				<tbody class="tbody-a">
					<tr>
						<td colspan="4" align="center"><strong class="strongFont">车辆信息</strong></td>
					</tr>
					<tr>
						<td id="">车辆类别</td>
						<td id="categoryCar">${ywCarinfoEditHis.categoryCarDisplay }</td>
						<td id="categoryCarNew">${ywCarinfoEdit.categoryCarDisplay }</td>
						<td id="categoryCarTz">${ywCarinfoEditHis.categoryCarDisplay == ywCarinfoEdit.categoryCarDisplay ? '-' : ywCarinfoEdit.categoryCarDisplay}</td>
					</tr>
					<tr>
						<td id="">车辆颜色</td>
						<td id="colorCar">${ywCarinfoEditHis.colorCarDisplay }</td>
						<td id="colorCarNew">${ywCarinfoEdit.colorCarDisplay }</td>
						<td id="colorCarTz">${ywCarinfoEditHis.colorCarDisplay == ywCarinfoEdit.colorCarDisplay ? '-' : ywCarinfoEdit.colorCarDisplay}</td>
					</tr>
					<tr>
						<td id="">新车指导价</td>
						<td id="priceNewcar">${ywCarinfoEditHis.priceNewcar }</td>
						<td id="priceNewcarNew">${ywCarinfoEdit.priceNewcar }</td>
						<td id="priceNewcarTz">${ywCarinfoEditHis.priceNewcar == ywCarinfoEdit.priceNewcar ? '-' : ywCarinfoEdit.priceNewcar}</td>
					</tr>
					<tr>
						<td id="">车辆车型</td>
						<td id="carName">${ywCarinfoEditHis.nameCarModel }</td>
						<td id="carNameNew">${ywCarinfoEdit.nameCarModel }</td>
						<td id="carNameTz">${ywCarinfoEditHis.nameCarModel == ywCarinfoEdit.nameCarModel ? '-' : ywCarinfoEdit.nameCarModel}</td>
					</tr>
					<tr>
						<td id="">合格证号</td>
						<td id="numQualified">${ywCarinfoEditHis.numQualified }</td>
						<td id="numQualifiedNew">${ywCarinfoEdit.numQualified }</td>
						<td id="numQualifiedTz">${ywCarinfoEditHis.numQualified == ywCarinfoEdit.numQualified ? '-' : ywCarinfoEdit.numQualified}</td>
					</tr>
					<tr>
						<td id="">厂牌型号</td>
						<td id="noticeModel">${ywCarinfoEditHis.noticeModel }</td>
						<td id="noticeModelNew">${ywCarinfoEdit.noticeModel }</td>
						<td id="noticeModelTz">${ywCarinfoEditHis.noticeModel == ywCarinfoEdit.noticeModel ? '-' : ywCarinfoEdit.noticeModel}</td>
					</tr>
					<tr>
						<td id="">排量(L)</td>
						<td id="displacement">${ywCarinfoEditHis.displacement }</td>
						<td id="displacementNew">${ywCarinfoEdit.displacement }</td>
						<td id="displacementTz">${ywCarinfoEditHis.displacement == ywCarinfoEdit.displacement ? '-' : ywCarinfoEdit.displacement}</td>
					</tr>
					<tr>
						<td id="">功率</td>
						<td id="power">${ywCarinfoEditHis.power }</td>
						<td id="powerNew">${ywCarinfoEdit.power }</td>
						<td id="powerTz">${ywCarinfoEditHis.power == ywCarinfoEdit.power ? '-' : ywCarinfoEdit.power}</td>
					</tr>
					<tr>
						<td id="">发动机号</td>
						<td id="numEngine">${ywCarinfoEditHis.numEngine }</td>
						<td id="numEngineNew">${ywCarinfoEdit.numEngine }</td>
						<td id="numEngineTz">${ywCarinfoEditHis.numEngine == ywCarinfoEdit.numEngine ? '-' : ywCarinfoEdit.numEngine}</td>
					</tr>
					<tr>
						<td id="">底盘后6位</td>
						<td id="numChassisSix">${ywCarinfoEditHis.numChassisSix }</td>
						<td id="numChassisSixNew">${ywCarinfoEdit.numChassisSix }</td>
						<td id="numChassisSixTz">${ywCarinfoEditHis.numChassisSix == ywCarinfoEdit.numChassisSix ? '-' : ywCarinfoEdit.numChassisSix}</td>
					</tr>
					<tr>
						<td id="">开票单位</td>
						<td id="companyBill">${ywCarinfoEditHis.companyBill }</td>
						<td id="companyBillNew">${ywCarinfoEdit.companyBill }</td>
						<td id="companyBillTz">${ywCarinfoEditHis.companyBill == ywCarinfoEdit.companyBill ? '-' : ywCarinfoEdit.companyBill}</td>
					</tr>
					<tr>
						<td id="">发票日期</td>
						<td id="dateBill"><fmt:formatDate value="${ywCarinfoEditHis.dateBill }" pattern="yyyy-MM-dd" /></td>
						<td id="dateBillNew"><fmt:formatDate value="${ywCarinfoEdit.dateBill }" pattern="yyyy-MM-dd" /></td>
						<td id="dateBillTz"><fmt:formatDate value="${ywCarinfoEditHis.dateBill == ywCarinfoEdit.dateBill ? '' : ywCarinfoEdit.dateBill}" pattern="yyyy-MM-dd" /></td>
					</tr>
					<tr>
						<td id="">发票号</td>
						<td id="numBill">${ywCarinfoEditHis.numBill }</td>
						<td id="numBillNew">${ywCarinfoEdit.numBill }</td>
						<td id="numBillTz">${ywCarinfoEditHis.numBill == ywCarinfoEdit.numBill ? '-' : ywCarinfoEdit.numBill}</td>
					</tr>
					<tr>
						<td id="">发票地区</td>
						<td id="areaBill">${ywCarinfoEditHis.areaBill }</td>
						<td id="areaBillNew">${ywCarinfoEdit.areaBill }</td>
						<td id="areaBillTz">${ywCarinfoEditHis.areaBill == ywCarinfoEdit.areaBill ? '-' : ywCarinfoEdit.areaBill}</td>
					</tr>
					<tr>
						<td id="">车架号</td>
						<td id="areaBill">${ywCarinfoEditHis.vin }</td>
						<td id="areaBillNew">${ywCarinfoEdit.vin }</td>
						<td id="areaBillTz">${ywCarinfoEditHis.vin == ywCarinfoEdit.vin ? '-' : ywCarinfoEdit.vin}</td>
					</tr>
				</tbody>
			</table>
		</div>
		</c:if> --%>
			<div class="business-manwife">调整信息</div>
			<div class="tche-padding">
				<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
					<thead class="thead-a">
						<tr>
							<th>项目</th>
							<th>原值</th>
							<th>新值</th>
							<th>调整值</th>
						</tr>
					</thead>
					<tbody class="tbody-a">
						<tr>
							<td id="">签约月还款额</td>
							<td id="amountMonthly"></td>
							<td id="amountMonthlyNe"></td>
							<td id="amountMonthlyTZ" class="compare"></td>
						</tr>
						<tr>
							<td>首付款</td>
							<td id="firstPaymentAmount"></td>
							<td id="firstPaymentAmountNe"></td>
							<td id="firstPaymentAmountTZ" class="compare"></td>
						</tr>
						<tr>
							<td>签约总还款额</td>
							<td id="totalRepaymentAmount"></td>
							<td id="totalRepaymentAmountNe"></td>
							<td id="totalRepaymentAmountTZ" class="compare"></td>
						</tr>
						<tr>
							<td>签约贷款额</td>
							<td id="signLoanAmount"></td>
							<td id="signLoanAmountNe"></td>
							<td id="signLoanAmountTZ" class="compare"></td>
						</tr>
						<tr>
							<td>实际贷款额</td>
							<td id="loanAmount"></td>
							<td id="loanAmountNe"></td>
							<td id="loanAmountTZ" class="compare"></td>
						</tr>
						<tr>
							<td>按揭服务费</td>
							<td id="servicePrice"></td>
							<td id="servicePriceNe"></td>
							<td id="servicePriceTZ" class="compare"></td>
						</tr>
						<tr>
							<td>贷款期限</td>
							<td id="loanMonth"></td>
							<td id="loanMonthNe"></td>
							<td id="loanMonthTZ" class="compare"></td>
						</tr>
						<tr>
							<td>汽车品牌</td>
							<td id="carBrand"></td>
							<td id="carBrandNe"></td>
							<td id="carBrandTZ" class="compare"></td>
						</tr>
						<tr>
							<td>汽车型号</td>
							<td id="cxname"></td>
							<td id="cxnameNe"></td>
							<td id="cxnameTZ" class="compare"></td>
						</tr>
					</tbody>	
				</table>
			</div>
	   	</div>
	   	<!-- 当前经办人 -->
	    <%@include file="/jsp/comm_current_person_include.jsp"%>
	</div>	
	
	<!-- public quote -->
    <%@include file="/jsp/comm_js_include.jsp"%>
    <!-- 车贷信息 -->
	<%@include file="/web/system/yw/loan_js_include.jsp"%>
	
	<!-- layerDate plugin javascript -->
    <script src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>

    <script type="text/javascript">
       	$(function(){
       		getData(function(){
       			$('.tbody-a tr').each(function() {
       				var valuea = $(this).find("td:eq(1)").text();
       				var valueb = $(this).find("td:eq(2)").text();
       				var comvalue = (valuea == valueb) ? '':valueb;
       				$(this).find("td:eq(3)").html('<span style="color:red;">'+comvalue+'</span>');
           		});
       		});
    	});
       	
       
       	
       	function getData(fn){
       	   var interviewInfoId = $.getUrlData('interviewInfoId');
		   var busiId = $.getUrlData('busiId');
		   if(!busiId || busiId == '' || !interviewInfoId || interviewInfoId == '') {
			   layer.msg('获取必须参数失败，请刷新页面尝试!', {icon: 5});
			   return;
		   }
       		$.dpAjax({
	    		url:'${basePath}/VideoMianQianController/diepuVideoInterviewList',
	    		data:{busiId:busiId},
    			success: function(datas){
    				var result = datas.result;
    				var result2 = datas.result2;
    				$("#amountMonthly").text(result.amountMonthly);
    				$("#amountMonthlyNe").text(result2.amountMonthly);
    				
    				$("#totalRepaymentAmount").text(result.totalRepaymentAmount);
    				$("#totalRepaymentAmountNe").text(result2.totalRepaymentAmount);
    				
    				$("#firstPaymentAmount").text(result.firstPaymentAmount);
    				$("#firstPaymentAmountNe").text(result2.firstPaymentAmount);
    				
    				$("#signLoanAmount").text(result.signLoanAmount);
    				$("#signLoanAmountNe").text(result2.signLoanAmount);
    				
    				$("#signLoanAmount").text(result.signLoanAmount);
    				$("#signLoanAmountNe").text(result2.signLoanAmount);
    				
    				$("#servicePrice").text(result.servicePrice);
    				$("#servicePriceNe").text(result2.servicePrice);
    				
    				$("#loanAmount").text(result.loanAmount);
    				$("#loanAmountNe").text(result2.loanAmount);
    				
    				$("#loanMonth").text(result.loanMonth);
    				$("#loanMonthNe").text(result2.loanMonth);
    				
    				$("#carBrand").text(result.carBrand);
    				$("#carBrandNe").text(result2.carBrand);
    				
    				$("#cxname").text(result.cxname);
    				$("#cxnameNe").text(result2.cxname);
    				if(fn){
    					fn();
    				}
                 }
	    	});
       	}
       	
	   function checkSecondInterview(){
	       var interviewInfoId = $.getUrlData('interviewInfoId');
		   var busiId = $.getUrlData('busiId');
		   if(!busiId || busiId == '' || !interviewInfoId || interviewInfoId == '') {
			   layer.msg('获取必须参数失败，请刷新页面尝试!', {icon: 5});
			   return;
		   }
		   layer.confirm('确认二次面签成功？', {
				  btn: ['确认','取消'] //按钮
				}, function(){
		    	$.dpAjax({
		    		url:'${basePath}/YwInterviewInfoController/checkSecondInterview',
		    		data:{busiId:busiId,interviewInfoId:interviewInfoId},
	    			success: function(datas){
	    				$('.buttonfixed').hide();
	    				layer.msg('面签成功！', {icon: 6});
	                 }
		    	});
			})	
	   }
    </script>
</body>
</html>
